package com.ruoyi.web.controller.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class PlayerCostLogQuery {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 玩家id
     */
    @Excel(name = "玩家id")
    private Long playerId;

    /**
     * 分销商id
     */
    @Excel(name = "分销商id")
    private Long franchiserId;

    /**
     * 消耗sliver
     */
    @Excel(name = "消耗sliver")
    private Long sliver;

    /**
     * 时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date end_time;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPlayerId() {
        return playerId;
    }

    public void setPlayerId(Long playerId) {
        this.playerId = playerId;
    }

    public Long getFranchiserId() {
        return franchiserId;
    }

    public void setFranchiserId(Long franchiserId) {
        this.franchiserId = franchiserId;
    }

    public Long getSliver() {
        return sliver;
    }

    public void setSliver(Long sliver) {
        this.sliver = sliver;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Date getEndTime() {
        return end_time;
    }

    public void setEndTime(Date time) {
        this.end_time = time;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("playerId", getPlayerId())
                .append("franchiserId", getFranchiserId())
                .append("sliver", getSliver())
                .append("time", getTime())
                .append("end_time", getEndTime())
                .toString();
    }
}
